HTMLify
style.css
Views: 9 | Author: cody
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap");
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Poppins", "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
}
body {
background-color: #141414;
color: #fff;
height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
button {
cursor: pointer;
position: relative;
background-color: #3b48ff;
padding: 20px 30px;
border: 0;
border-radius: 4px;
color: #fff;
font-size: 16px;
font-weight: bold;
text-transform: uppercase;
letter-spacing: 1px;
overflow: hidden;
}
.circle {
position: absolute;
background-color: #c4c8ff;
width: 100px;
height: 100px;
border-radius: 100vw;
transform: translate(-50%, -50%) scale(0);
animation: scale 0.5s ease-in-out;
}
@keyframes scale {
to {
transform: translate(-50%, -50%) scale(3);
opacity: 0;
}
}